package com.itheima.stock.mapper;

import com.itheima.stock.pojo.StockBusiness;
import com.itheima.stock.pojo.dto.DescribDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
* @author 郭鑫超
* @description 针对表【stock_business(主营业务表)】的数据库操作Mapper
* @createDate 2023-02-23 14:40:41
* @Entity com.itheima.stock.pojo.StockBusiness
*/
@Mapper
public interface StockBusinessMapper {

    StockBusiness selectOneByCode(String code);


    /**
     * 获取所有股票的code
     * @return
     */
    List<String> getStockIds();}




